/*
 * pwm.h
 *
 *  Created on: Sep 11, 2013
 *      Author: Facu
 */

#ifndef PWM_H_
#define PWM_H_


#define PWM_PRESCALER 0
#define PWM_BITS      14
#define PWM_SATURATION ((1<<PWM_BITS)-1)
#define LER0_EN			1 << 0
#define LER1_EN			1 << 1
#define LER2_EN			1 << 2
#define LER3_EN			1 << 3
#define LER4_EN			1 << 4
#define LER5_EN			1 << 5
#define LER6_EN			1 << 6
#define PWMENA1			1 << 9
#define PWMENA2			1 << 10
#define PWMENA3			1 << 11
#define PWMENA4			1 << 12
#define PWMENA5			1 << 13
#define PWMENA6			1 << 14
#define TCR_CNT_EN		0x00000001
#define TCR_RESET		0x00000002
#define TCR_PWM_EN		0x00000008
#define PRUEBA 0



#endif /* PWM_H_ */
